/**
 * 
 */
package com.mvc.service.healthmanager;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.mvc.dao.mapper.TemperatureDao;
import com.mvc.model.healthmanager.archive.BloodOxygen;
import com.mvc.model.healthmanager.archive.Temperature;
import com.mvc.model.healthmanager.archive.UserTemperature;

/**
 * @author qingjie
 *
 */
@Service
public interface TemperatureServiceI {
	/**
	 * 根据个人id,获取最新体温记录
	 * @author qingjie
	 * @param personId
	 * @return
	 * Date:2015-11-15
	 */
	public Temperature getNewTemperature(Temperature t);
	
	/**
	 * 根据条件,获取所有提问记录
	 * @author qingjie
	 * @param bOxygen
	 * @return
	 * Date:2015-11-15
	 */
	public List<Temperature> getTemperature(Temperature tem);
	
	/**
	 * 获取json数据，根据个人id
	 * @author qingjie
	 * @return
	 * Date:2015-11-15
	 */
	public String getJsonData(String personId);
	
	
	public List<UserTemperature> findTemperature(String personId);
	
	public Temperature saveOrUpdate(Temperature temperature);
	
}
